/**
 * 
 */
package cn.ad.param;

import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;

/**
 * @author Administrator
 *
 */
public class AuthParam {
	
	@NotNull
	@NotEmpty
	private String username;
	
	@NotNull
	@NotEmpty
	private String password;
	
	
	private boolean rememberme;

	/**
	 * @return the username
	 */
	public String getUsername() {
		return username;
	}

	/**
	 * @param username the username to set
	 */
	public void setUsername(String username) {
		this.username = username;
	}

	/**
	 * @return the password
	 */
	public String getPassword() {
		return password;
	}

	/**
	 * @param password the password to set
	 */
	public void setPassword(String password) {
		this.password = password;
	}

	/**
	 * @return the rememberme
	 */
	public boolean isRememberme() {
		return rememberme;
	}

	/**
	 * @param rememberme the rememberme to set
	 */
	public void setRememberme(boolean rememberme) {
		this.rememberme = rememberme;
	}
}
